package com.learn.multDataSource.mapper.mysql;

import com.learn.multDataSource.model.mysql.TKnowImg;
import com.learn.multDataSource.model.mysql.TKnowImgExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TKnowImgMapper {
    int countByExample(TKnowImgExample example);

    int deleteByExample(TKnowImgExample example);

    int deleteByPrimaryKey(Integer imgId);

    int insert(TKnowImg record);

    int insertSelective(TKnowImg record);

    List<TKnowImg> selectByExample(TKnowImgExample example);

    TKnowImg selectByPrimaryKey(Integer imgId);

    int updateByExampleSelective(@Param("record") TKnowImg record, @Param("example") TKnowImgExample example);

    int updateByExample(@Param("record") TKnowImg record, @Param("example") TKnowImgExample example);

    int updateByPrimaryKeySelective(TKnowImg record);

    int updateByPrimaryKey(TKnowImg record);
}